import request from '@/utils/request'

export function getOneTypeSelectList() {
  return request({
    url: '/select/oneType',
    method: 'get'
  });
}


export function getTwoTypeSelectList(oneTypeId) {
  return request({
    url: '/select/twoType',
    method: 'get',
    params: {"oneTypeId": oneTypeId}
  });
}




// 题目下拉
export function getOneSelectList(searchData) {
  return request({
    url: '/select/oneSelect',
    method: 'post',
    data: searchData
  });
}

export function getManySelectList(searchData) {
  return request({
    url: '/select/manySelect',
    method: 'post',
    data: searchData
  });
}

export function getJudgeList(searchData) {
  return request({
    url: '/select/judge',
    method: 'post',
    data: searchData
  });
}


export function getCompletionList(searchData) {
  return request({
    url: '/select/completion',
    method: 'post',
    data: searchData
  });
}

export function getShortAnswerList(searchData) {
  return request({
    url: '/select/shortAnswer',
    method: 'post',
    data: searchData
  });
}


export function examDataList() {
  return request({
    url: '/select/examDataList',
    method: 'post'
  });
}
